package com.gtq.uhome.mapper;

import com.gtq.uhome.pojo.StaffSite;
import com.gtq.uhome.vo.AddSiteMemberVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface StaffSiteMapper {

    boolean addSiteMember(@Param("member") AddSiteMemberVo siteMemberVo);

    boolean updateSiteMember(@Param("member")AddSiteMemberVo siteMemberVo);

    List<StaffSite> findSiteMember(@Param("siteId") Integer siteId);

    StaffSite findRelation(@Param("staffId") Integer staffId);

    boolean deleteRelation(@Param("id") Integer staffId);
}